package com.bruce.service.impl;

import com.bruce.pojo.User;
import com.bruce.service.UserService;
import com.springmvc.anotation.Service;

import java.util.ArrayList;
import java.util.List;

@Service
public class UserServiceImpl implements UserService {

    @Override
    public List<User> findUser(String username) {
        // 模拟数据
        List<User> res = new ArrayList<>();
        res.add(new User("12312312", "213213123"));
        res.add(new User("d654as", "scn"));
        res.add(new User("cad", "asd123"));
        res.add(new User("sdasd2e1", "3123"));
        return res;
    }
}
